using Boo.Lang;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using UnityEngine;

[Serializable]
public class aftercdarcade : MonoBehaviour
{
	[Serializable]
	[CompilerGenerated]
	internal sealed class _0024s_0024231 : GenericGenerator<WaitForSeconds>
	{
		internal aftercdarcade _0024self__0024233;

		public _0024s_0024231(aftercdarcade self_)
		{
			_0024self__0024233 = self_;
		}

		public override IEnumerator<WaitForSeconds> GetEnumerator()
		{
			return new _0024(_0024self__0024233);
		}
	}

	[Serializable]
	[CompilerGenerated]
	internal sealed class _0024r_0024234 : GenericGenerator<WaitForSeconds>
	{
		internal aftercdarcade _0024self__0024236;

		public _0024r_0024234(aftercdarcade self_)
		{
			_0024self__0024236 = self_;
		}

		public override IEnumerator<WaitForSeconds> GetEnumerator()
		{
			return new _0024(_0024self__0024236);
		}
	}

	public bool twoplayer;

	public Rigidbody launcher;

	public Rigidbody bey1;

	public spin bey11;

	public void Start()
	{
		if (UnityEngine.SceneManagement.SceneManager.GetActiveScene().name.Contains("MP"))
		{
			Invoke("find", 0.2f);
			return;
		}
		bey1.Sleep();
		StartCoroutine(s());
		StartCoroutine(r());
	}

	public IEnumerator s()
	{
		return new _0024s_0024231(this).GetEnumerator();
	}

	public IEnumerator r()
	{
		return new _0024r_0024234(this).GetEnumerator();
	}

	public void find()
	{
		bey1 = GameObject.Find("PlayerPrefab(Clone)").GetComponent<Rigidbody>();
		bey1.Sleep();
		StartCoroutine(s());
		StartCoroutine(r());
	}

	public void Main()
	{
	}
}
